]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Handle 'switch-input-source' keybinding move
authorRui Matos <tiagomatos@gmail.com>
Tue, 18 Dec 2012 15:04:14 +0000 (15:04 +0000)
committerRui Matos <tiagomatos@gmail.com>
Tue, 18 Dec 2012 16:13:13 +0000 (16:13 +0000)
Moving this to gsettings-desktop-schemas instead so that
gnome-control-center doesn't have to grow a dependency on gnome-shell.

https://bugzilla.gnome.org/show_bug.cgi?id=690427

data/50-gnome-shell-typing.xml.in [deleted file]
data/Makefile.am
data/org.gnome.shell.gschema.xml.in.in
js/ui/status/keyboard.js

diff --git a/data/50-gnome-shell-typing.xml.in b/data/50-gnome-shell-typing.xml.in
deleted file mode 100644 (file)
index 7afd4c5..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<KeyListEntries schema="org.gnome.shell.keybindings"
-                group="system"
-                _name="Typing"
-                wm_name="GNOME Shell"
-                package="gnome-shell">
-
-  <KeyListEntry name="switch-input-source"
-                _description="Switch to next source"/>
-
-  <KeyListEntry name="switch-input-source-backward"
-                _description="Switch to previous source"/>
-
-</KeyListEntries>
-
index be6deef8c17cd89c64026cddcc53d784b331105d..f3e90b0ecf3c09f5f3a33c39dd679e954b9170af 100644 (file)
@@ -54,7 +54,6 @@ keysdir = @GNOME_KEYBINDINGS_KEYSDIR@
 keys_in_files =                                        \
        50-gnome-shell-screenshot.xml.in        \
        50-gnome-shell-system.xml.in            \
-       50-gnome-shell-typing.xml.in            \
        $(NULL)
 keys_DATA = $(keys_in_files:.xml.in=.xml)
 
index 313aea0b7966232e45b3911005e48381d43a226c..24af09336ec160bcb000eba278fdc0fd812097df 100644 (file)
@@ -135,16 +135,6 @@ value here is from the GsmPresenceStatus enumeration.</_summary>
         Keybinding to start/stop the builtin screen recorder.
       </_description>
     </key>
-    <key name="switch-input-source" type="as">
-      <default>["&lt;Super&gt;space"]</default>
-      <_summary>Switch input source</_summary>
-      <_description>Binding to select the next input source</_description>
-    </key>
-    <key name="switch-input-source-backward" type="as">
-      <default>[]</default>
-      <_summary>Switch input source backward</_summary>
-      <_description>Binding to select the previous input source</_description>
-    </key>
   </schema>
 
   <schema id="org.gnome.shell.keyboard" path="/org/gnome/shell/keyboard/"
index 7959e644050543f1a7a1e6b4c1281d2b7903c204..c1b4ea1e23203dbcbf39e458b19679681ce767d4 100644 (file)
@@ -330,13 +330,13 @@ const InputSourceIndicator = new Lang.Class({
         this._mruSources = [];
         this._keybindingAction =
             Main.wm.addKeybinding('switch-input-source',
-                                  new Gio.Settings({ schema: "org.gnome.shell.keybindings" }),
+                                  new Gio.Settings({ schema: "org.gnome.desktop.wm.keybindings" }),
                                   Meta.KeyBindingFlags.REVERSES,
                                   Main.KeybindingMode.ALL,
                                   Lang.bind(this, this._switchInputSource));
         this._keybindingActionBackward =
             Main.wm.addKeybinding('switch-input-source-backward',
-                                  new Gio.Settings({ schema: "org.gnome.shell.keybindings" }),
+                                  new Gio.Settings({ schema: "org.gnome.desktop.wm.keybindings" }),
                                   Meta.KeyBindingFlags.REVERSES |
                                   Meta.KeyBindingFlags.REVERSED,
                                   Main.KeybindingMode.ALL,